﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace simWaifu
{
    static class Program
    {
        /// <summary>
        /// Der Haupteinstiegspunkt für die Anwendung.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            for (int i = 0; i < args.Length; i++)
            {
                string s = args[i];

                if (s.Equals("reset"))
                    Properties.Settings.Default.Reset();
                //if(!Properties.Settings.Default.AppVersion.Equals("V0.5"))
                //    Properties.Settings.Default.Reset();
                
                if (s.Equals("debug"))
                    DebugMessageHandler.bLogErrors = true;
                
                if (s.Equals("verbose"))
                {
                    DebugMessageHandler.bLogErrors = true;
                    DebugMessageHandler.bLogMessages = true;
                }
            }
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new FormMain());
        }
    }
}
